package cn.ncupyh.comptest;

//接口练习
interface InterfaceTest {
    int age = 0;
    String name = null;
    int score = 0;
    public void show();
}

class Stu implements InterfaceTest{

    @Override
    public void show() {
        System.out.println(name+" "+ age +"岁,得了" +score+"分");
    }
}
class Test{
    public static void main(String[] args) {
        Stu s = new Stu();
        s.show();

    }
}
